package com.px.service;

import com.px.pojo.ShCommodityTempStock;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ShCommodityTempStockServiceImpl implements ShCommodityTempStockService {

    @Resource
    private ShCommodityTempStockService shCommodityTempStockService;

    @Override
    public List<ShCommodityTempStock> selectShCommodityTempStockStatus(String commodityName, Integer dicOneId, Integer dicTwoId, Double minPrice, Double maxPrice, String ram, Integer pageBegin, Integer pageSize) throws Exception {
        return shCommodityTempStockService.selectShCommodityTempStockStatus(commodityName,dicOneId,dicTwoId,minPrice,maxPrice,ram,pageBegin,pageSize);
    }

    @Override
    public int selectShCommodityTempStockCount(String commodityName, Integer dicOneId, Integer dicTwoId, Double minPrice, Double maxPrice, String ram) throws Exception {
        return shCommodityTempStockService.selectShCommodityTempStockCount(commodityName,dicOneId,dicTwoId,minPrice,maxPrice,ram);
    }
}
